<?php 
$translate = Zend_Registry::get('Zend_Translate');
?>

<div style="position: relative; display: block; width: 100%; ">
    <div style="position: relative; padding-top: 4px">
        
    </div>
</div>

<h1><?=$this->translate->_('SEO list')?>.</h1>
<div id= "mensajes">
<?=$this->message?><br />
</div>

<div id="list">
<table class="list">
<tr>
  <th width='5%'><?=$this->translate->_('Id')?></th>
  <th><?=$this->translate->_('Title')?></th>
  <th width="18%"><?=$this->translate->_('Description')?></th>
  <th width='10%'></th>
</tr>

<?php
 $msg = '"'.$this->translate->_('Are you sure you want to delete this SEO'.':').'"';
 $url = '"'.$this->baseUrl() . "/".$this->module."/".$this->controller."/delete?Id=".'"';
 foreach($this->paginator as $dt)
 {
  	echo "<tr class='odd'>";
	echo "<td>" . $dt['Id'] . "</td>";
    echo "<td>" . $dt['Title']. "</td>";
    echo "<td>" . $dt['Description']. "</td>";
    echo "<td class='icon' align='center'><a href='".$this->baseUrl()."/".$this->module."/".$this->controller."/add?Id=".$dt['Id']."&type=Edit' title='" . $this->translate->_('Edit') . "' class='icon ui-state-default ui-corner-all'><span class='ui-icon-pencil ui-icon'></span></a></td>";
    //echo "<td class='icon' align='center'><a href='#' onClick='deleteObject(".$dt['Id'].", $msg, $url, this)'  title='" . $this->translate->_('Delete') . "' class='icon ui-state-default ui-corner-all'><span class='ui-icon-trash ui-icon'></span></a></td>";
    echo "</tr>\n";
	
 }

?>
</table>
</div>   